package com.luca.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.luca.common.annotation.Excel;
import com.luca.common.core.domain.BaseEntity;
import lombok.Data;

/**
 * 租户信息类 sys_tenant
 *
 * @author luca
 * @date 2020-12-25
 */
@Data
public class SysTenant extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 租户ID
     */
    @TableId(type = IdType.AUTO)
    private Long id;
    /**
     * 租户编码
     */
    @Excel(name = "租户编码")
    private String code;
    /**
     * 租户名称
     */
    @Excel(name = "租户名称")
    private String name;
    /**
     * 状态（0正常 1停用）
     */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

}